﻿<%@ Control Language="C#" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<asp:Image ID="fjimg" Visible="false" runat="server" />
<script type="text/javascript">
    function changeSize(args) {
        var oImg = document.getElementById('<%=fjimg.ClientID %>');
        if (oImg != null && oImg != '') {
            if (parseInt(oImg.style.zoom) > 5) {
                oImg.style.zoom = parseInt(oImg.style.zoom) + (args ? +5 : -5) + '%';
            } else {
                oImg.style.zoom = parseInt(oImg.style.zoom) + (args ? +5 : +5) + '%';
            }
        }
    }

    function Zoomin() {
        changeSize(true);
    }

    function Zoomout() {
        changeSize(false);
    }
    
</script>

